/**
 * admin模块接口列表
 */
import request from '@/js/request.js';
const admin={
    /**
     * 管理员登录
     * @param loginParams
     * @returns {Promise<axios.AxiosResponse<any>>}
     */
    loginAdmin(loginParams){
        return request({
            url: '/user/login',
            method: 'post',
            data: {
                userName: loginParams.username,
                passWord: loginParams.password
            }
        })
    },
}

export default admin
